{include file="public/header" /}
<style type="text/css" media="all">
    /*body {*/
    /*    margin: 0;*/
    /*    padding: 0;*/
    /*    background-color: #2f2424;*/
    /*}*/
    /*div {*/
    /*    margin: 400px auto;*/
    /*    font-size: 40px;*/
    /*    text-align: center;*/
    /*}*/
    h2 {
        margin: 0;
        /*background: -webkit-linear-gradient(left,*/
        /*    #ffffff,*/
        /*    #ff0000 6.25%,*/
        /*    #ff7d00 12.5%,*/
        /*    #ffff00 18.75%,*/
        /*    #00ff00 25%,*/
        /*    #00ffff 31.25%,*/
        /*    #0000ff 37.5%,*/
        /*    #ff00ff 43.75%,*/
        /*    #ffff00 50%,*/
        /*    #ff0000 56.25%,*/
        /*    #ff7d00 62.5%,*/
        /*    #ffff00 68.75%,*/
        /*    #00ff00 75%,*/
        /*    #00ffff 81.25%,*/
        /*    #0000ff 87.5%,*/
        /*    #ff00ff 93.75%,*/
        /*    #ffff00 100%);*/
        background-color: #ffffff;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-size: 200% 100%;
        animation: masked-animation 2s infinite linear;
    }
    @keyframes masked-animation {
        0% {
            background-position: 0 0;
        }
        100% {
            background-position: -100%, 0;
        }
    }
</style>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">

<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation" style="width:180px">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header" style="padding: 20px 0px;background-color:#12121200;margin-left: 41px;">
                  <!--<h2 style="font-weight:bold;font-size:33px;color:#FAFAD2;padding: 14px 20px 20px 10px" >{:config('WEB_SITE_TITLE')}</h2>-->
                  <h2 style="font-weight:bold;font-size:33px;color:red;" >{$Think.session.dlaccount}</h2>
                </li>
                <li>
                    <a class="J_menuItem" href="javascript:;" id="index" style="padding: 14px 20px 20px 35px;color:#FAFAD2;font-weight: bold;font-size: 20px;"><i class="fa fa-align-justify"></i>首页</a>
                </li>
                {if !empty($menu)}
                    {foreach name="menu" item="vo"}
                        {if !empty($vo['child'])}
                            {foreach name="$vo['child']" item="v"}
                            <li>
                                <a class="J_menuItem" href="{$v.href}" style="padding: 14px 20px 20px 20px;color:#FAFAD2;font-weight: bold;font-size: 20px;"><i class="{$v.css}"></i>{$v.title}</a>
                            </li>
                            {/foreach}
                        {/if}
                    {/foreach}
                <li>
                    <a class="J_menuItem" href="javascript:;" id="logout" style="padding: 14px 20px 20px 20px;color:#FAFAD2;font-weight: bold;font-size: 20px;"><i class="fa fa-arrows-alt"></i>安全退出</a>
                </li>
                {/if}
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1" style="margin: 0 0 0 180px">
        <!--<div class="row border-bottom">-->
        <!--    <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">-->
                <!--<div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i-->
                <!--        class="fa fa-bars"></i> </a>-->
                <!--</div>-->
               
        <!--    </nav>-->
        <!--</div>-->
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active J_menuTab" data-id="index.html">首页</a>
                </div>
            </nav>
            <!--<button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>-->
            <!--</button>-->
            <!--<div class="btn-group roll-nav roll-right">-->
            <!--    <button class="dropdown J_tabClose" data-toggle="dropdown">常用操作<span class="caret"></span></button>-->
            <!--    <ul role="menu" class="dropdown-menu dropdown-menu-right">-->
            <!--        <li class="J_tabGo"><a>前进</a></li>-->
            <!--        <li class="J_tabBack"><a>后退</a></li>-->
            <!--        <li class="J_tabFresh"><a>刷新</a></li>-->
            <!--        <li class="divider"></li>-->
            <!--        <li class="J_tabShowActive"><a>定位当前选项卡</a></li>-->
            <!--        <li class="divider"></li>-->
            <!--        <li class="J_tabCloseAll"><a>关闭全部选项卡</a></li>-->
            <!--        <li class="J_tabCloseOther"><a>关闭其他选项卡</a></li>-->
            <!--    </ul>-->
            <!--</div>-->
            <!--<a href="javascript:;" id="logout" class="roll-nav roll-right J_tabExit">-->
            <!--    <i class="fa fa fa-sign-out"></i>退出-->
            <!--</a>-->
        </div>
        <div class="row J_mainContent" id="content-main" style="height: calc(100% - 30px)">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="{:url('Index/indexPage')}" frameborder="0" data-id="index.html" seamless></iframe>
        </div>
        <div class="footer">
            <div class="pull-right"><a href="javascript:;"  target="_blank" style="color:#999">&copy; {:config('WEB_SITE_TITLE')}代理中心</a>
            </div>
        </div>
    </div>
    <!--右侧部分结束-->
   
    <!--右侧边栏结束-->
  
</div>
{include file="public/footer" /}
<script src="__JS__/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="__JS__/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="__JS__/hplus.min.js?v=4.1.0"></script>
<script src="__JS__/contabs.js"></script>
<script src="__JS__/plugins/pace/pace.min.js"></script>
<script type="text/javascript">
//退出登录
$(document).ready(function(){
    $("#logout").click(function(){
        // layer.confirm('你确定要退出吗？', {icon: 3}, function(index){
            // layer.close(index);
            window.location.href="{:url('daili/login/loginOut')}";
        // });
    });
    
     $("#index").click(function(){
        // layer.confirm('你确定要退出吗？', {icon: 3}, function(index){
            // layer.close(index);
            window.location.href="{:url('daili/index/index')}";
        // });
    });
    
    
});
</script>
</body>
</html>
